package com.yugao.fintech.antelope.statistic.model.rqrs;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 统计服务
 */
@Getter
@Setter
public class StatAccessBase {
	
 	@ApiModelProperty(value = "访问成功数量")
	private Long successCount;
	
 	@ApiModelProperty(value = "访问失败数量")
	private Long failCount;
	
 	@ApiModelProperty(value = "统计日期")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date statDate;
}